package com.welab.springcloud.demo.gateway.filter;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ZuulFilterConfig {

    @Bean
    public AccessTokenFilter tokenFilter() {
        return new AccessTokenFilter();
    }

    @Bean
    public OrderRateLimiterFilter rateLimiterFilter() {
        return new OrderRateLimiterFilter();
    }

}
